/*    */ package com.zimbra.cs.service.doc;
/*    */ 
/*    */ import com.zimbra.common.service.ServiceException;
/*    */ import com.zimbra.common.service.ServiceException.Argument;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class DocServiceException
/*    */   extends ServiceException
/*    */ {
/*    */   public static final String ERROR = "doc.ERROR";
/*    */   
/*    */   private DocServiceException(String message, String code, boolean isReceiversFault, ServiceException.Argument... args)
/*    */   {
/* 27 */     super(message, code, isReceiversFault, args);
/*    */   }
/*    */   
/* 30 */   private DocServiceException(String message, String code, boolean isReceiversFault, Throwable cause) { super(message, code, isReceiversFault, cause, new ServiceException.Argument[0]); }
/*    */   
/*    */   public static DocServiceException ERROR(String w) {
/* 33 */     return new DocServiceException("error: " + w, "doc.ERROR", false, new ServiceException.Argument[0]);
/*    */   }
/*    */   
/* 36 */   public static DocServiceException ERROR(String w, Throwable cause) { return new DocServiceException("error: " + w, "doc.ERROR", false, cause); }
/*    */   
/*    */   public static DocServiceException INVALID_PATH(String path) {
/* 39 */     return new DocServiceException("invalid path: " + path, "doc.ERROR", false, new ServiceException.Argument[0]);
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/service/doc/DocServiceException.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */